a=[1,2,3,4]
a.pop()
print(a)

b=[1,2,3,4,5]
b.remove(3)
print(b)